// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:34

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   vq.java

package com.zelix;

import java.util.*;

// Referenced classes of package com.zelix:
//            yo, zb, yb, dp, 
//            lt, mu, ou, qq, 
//            ec, tq, uq, wq, 
//            mt

class vq
    implements qq
{

    private tq a;
    private mt b;
    private ArrayList c;
    private static String z[];

    vq(tq tq1, yo yo1, boolean flag)
        throws ec
    {
label0:
        {
            super();
            c = new ArrayList();
            a = tq1;
            if(yo1 == null || !h())
                break label0;
            String s = tq1.a();
            String s1 = tq1.g();
            try
            {
                b = yo1.a(lt.b(s));
            }
            catch(zb _ex)
            {
                if(flag)
                {
                    tq1.c(z[2] + s + z[0]);
                    return;
                } else
                {
                    throw new ec(z[2] + s + z[8]);
                }
            }
            catch(yb yb1)
            {
                throw new ec(yb1.getMessage());
            }
            if(s1 != null)
            {
                dp dp1 = new dp(tq1.h(), lt.b(s1));
                ou ou1 = (ou)b.a(dp1);
                if(ou1 == null)
                    if(flag)
                    {
                        tq1.c(z[4] + dp1.f() + z[1] + s + z[5]);
                        return;
                    } else
                    {
                        throw new ec(z[3] + tq1.c() + z[6] + b.l() + z[7] + dp1.f() + z[9]);
                    }
                c.add(new wq(tq1.h() + lt.b(s1), ou1));
                if(!ec.b)
                    break label0;
            }
            a(b, flag);
        }
    }

    private void a(mt mt, boolean flag)
        throws ec
    {
        ArrayList arraylist;
        boolean flag1;
        flag1 = ec.b;
        arraylist = mt.e(a.h());
        if(a.b() <= -1) goto _L2; else goto _L1
_L1:
        int i;
        Iterator iterator1;
        i = a.b();
        iterator1 = arraylist.iterator();
        if(!flag1) goto _L4; else goto _L3
_L3:
        ou ou2 = (ou)iterator1.next();
        if(!ou2.c(i))
            iterator1.remove();
_L4:
        if(iterator1.hasNext()) goto _L3; else goto _L2
_L2:
        Iterator iterator = arraylist.iterator();
        if(!flag1) goto _L6; else goto _L5
_L5:
        ou ou1 = (ou)iterator.next();
        c.add(new wq(ou1.S(), ou1));
_L6:
        if(!iterator.hasNext())
            if(c.size() == 0)
            {
                if(flag)
                {
                    a.c(z[2] + mt.l() + z[7] + a.h() + "'" + (a.b() <= -1 ? "." : z[11] + a.b() + ".") + z[12]);
                    return;
                } else
                {
                    throw new ec(z[3] + a.c() + z[6] + mt.l() + z[7] + a.h() + "'" + (a.b() <= -1 ? "." : z[11] + a.b() + ".") + z[10]);
                }
            } else
            {
                return;
            }
        if(true) goto _L5; else goto _L7
_L7:
    }

    mt e()
    {
        return b;
    }

    public String a()
    {
        if(b != null)
            return b.l();
        if(a.a() != null)
            return a.a();
        else
            return null;
    }

    public int b()
    {
        return a.b();
    }

    ArrayList f()
    {
        return c;
    }

    public String c()
    {
        return a.c();
    }

    tq g()
    {
        return a;
    }

    public boolean d()
    {
        return a.d();
    }

    public boolean h()
    {
        return a.k();
    }

    private static String z(char ac[]) {
        for (int i = 0; i < ac.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key =0x6c;
                    break;
                case 1:
                    key =117;
                    break;
                case 2:
                    key =22;
                    break;
                case 3:
                    key =87;
                    break;
                default:
                    key =74;
                    break;
            }
            ac[i] ^= key;
        }
        return new String(ac).intern();
    }

    static 
    {
        String as[];
        as = new String[13];
        as[0] = "KUx8>L\023y\"$\bU\1779j\030\035sw)\004\024x0/L\031y0j\003\0076#\"\tUy5,\031\006u6>\t\021653\030\020u8.\tUu;+\037\006f6>\004[";
        as[1] = "KU\1779j\017\031w$9LR";
        as[2] = "/\031w$9LR";
        as[3] = ")\007d88L\024x6&\025\017\1779-LR";
        as[4] = "!\020b?%\bU1";
        as[5] = "KUx8>L\023y\"$\b[";
        as[6] = "K[6\024&\r\006ewm";
        as[7] = "KUu8$\030\024\17799L\033yw'\r\001u?#\002\0226:/\030\035y3jK";
        as[8] = "KU\177$j\005\0336#\"\tUu?+\002\022sw&\003\02265?\030UX\030\036L\034xw>\004\02068(\n\000e4+\030\020rw(\025\001s4%\b\02064&\r\006e'+\030\0358w\036\004\02068(\n\000e4+\030\020rw(\025\001s4%\b\02064&\r\006e'+\030\0356>9L\034x4%\036\007s4>L\032dw#\002\026y::\000\020b2d";
        as[9] = "K[6\030(\n\000e4+\030\020rw(\025\001s4%\b\02064&\r\006e'+\030\0356>9L\034x4%\036\007s4>B";
        as[10] = "L%z2+\037\02064\"\t\026}w>\004\024bw3\003\0006?+\032\0206$:\t\026\1771#\t\0216#\"\tUu88\036\020u#j\003\027p\"9\017\024b2.L\027o#/\017\032r2d";
        as[11] = "L\002\177#\"L\031\1779/L\033c:(\t\0076";
        as[12] = "BUB?/L\026z69\037\005w#\"L\030w.j\016\0206>$\017\032d%/\017\0018";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;
    }
}